using Yoozoo.Managers.NetworkV2.Client;
using Yoozoo.Managers.NetworkV2.Core;
using Yoozoo.Managers.NetworkV2.Helpers;

namespace Yoozoo.Framework.Network.Helpers
{
    public class GTAMainChannelReconnectHelper : IReconnectHelper
    {
        protected  int MaxReconnectionTryTimes => 1;
        protected  float MinReconnectionInterval => 1.0f;

        protected  void SendReconnectProtocals(NetChannel channel, INetClient client)
        {
            
            
        }
      
        protected  bool CheckReconnectAbleOnLoseHeartBeat(NetChannel channel, INetClient client, int loseCount)
        {
            return false;
        }
        
        protected  bool CheckReconnectAbleOnLoseConnection(NetChannel channel, INetClient client)
        {
            return false;
        }


        public void OnLoseHeartBeat(NetChannel channel, INetClient client, int loseCount)
        {
            
        }

        public void OnLoseConnections(NetChannel channel, INetClient client)
        {
            
        }

        public void OnConnectionSuccess(NetChannel channel, INetClient client, object customData)
        {
            
        }

        public void Update(NetChannel channel, INetClient client)
        {
           
        }

        public void Reset(NetChannel channel, INetClient client)
        {
            
        }

        public event NetDelegates.HelperDelegates.ReconnectedHandler OnReconnected;
    }
}